Help making a spambot for a android game?

Posts 1–2 of 2 · Page 1 of 1
Help making a spambot for a android game?
Recently ive been trying to reverse a game called mini militia, iam a total noob wtr to game hacking and am in my learning phase. The game uses a combination of RakNet engine and gpg api, and there are like a ton of huge functions called senreliablemessage() and stuff, which has nothing to do with the chat mask.Ive been searching around the binary file to find anything that i could use to send repetitive messages and so far have my trials have failed.

Im trying to edit a function called AMessageBox::setupMessageBox( (im not sure but this MAYBE the function which reads input string and broadcasts it). I tried a lot of things like manipulating the getCstring but all in vain.


If anyone could spare some time to look at the below binary and give some suggestions, it will be highly appreciated.


Code:
Binary File: https://*************.com/open?id=0B4ISHZZ9YC4oUHlLNHh1bldiS3M
- - - Updated - - -

AMessageBox function
http hastebin.com/tecunepomu.avrasmⓘ
Btw i also had earlier found a function called PlayerLobby:nChat(), its a quite small function but it was very hard for me to exploit. If anyone would hint me some clues on how to deface this function.

Code:
; _DWORD __fastcall PlayerLobby::onChat(PlayerLobby *__hidden this, cocos2d::CCObject *)
EXPORT _ZN11PlayerLobby6onChatEPN7cocos2d8CCObjectE
_ZN11PlayerLobby6onChatEPN7cocos2d8CCObjectE

var_10= -0x10
var_C= -0xC
var_4= -4

PUSH            {LR}
SUB             SP, SP, #0xC
STR             R0, [SP,#0x10+var_C]
STR             R1, [SP,#0x10+var_10]
LDR             R2, =(_GLOBAL_OFFSET_TABLE_ - 0x36564E)
ADD             R2, PC ; _GLOBAL_OFFSET_TABLE_
LDR             R3, =(sndEng_ptr - 0x8C3A1C)
LDR             R3, [R2,R3] ; sndEng
LDR             R3, [R3]
MOV             R0, R3  ; this
MOVS            R1, #0xE ; int
BL              _ZN5Sound9playSoundEi ; Sound::playSound(int)
LDR             R3, [SP,#0x10+var_C]
LDR.W           R3, [R3,#0x100]
LDR             R3, [R3]
ADDS            R3, #0x90
LDR             R3, [R3]
LDR             R2, [SP,#0x10+var_C]
LDR.W           R2, [R2,#0x100]
MOV             R0, R2
MOVS            R1, #1
BLX             R3
LDR             R3, [SP,#0x10+var_C]
LDR.W           R3, [R3,#0x100]
MOV             R0, R3  ; this
MOVS            R1, #0  ; cocos2d::CCObject *
MOVS            R2, #1  ; unsigned int
BL              _ZN7cocos2d9extension9CCEditBox15touchDownActionEPNS_8CCObjectEj ; cocos2d::extension::CCEditBox::touchDownAction(cocos2d::CCObject *,uint)
ADD             SP, SP, #0xC
LDR.W           PC, [SP+4+var_4],#4

; End of function PlayerLobby::onChat(cocos2d::CCObject *)
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us