{"type": "func", "start": 5309760, "end": 5309880, "name": "GJMultiplayerManager::handleItND", "pseudocode": "// \n// GJMultiplayerManager::handleItND from 0x510540 to 0x5105b8 (120 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJMultiplayerManager::handleItND(GJMultiplayerManager *a1, cocos2d::CCNode *a2, void *a3)\n{\n  int v5; // r8\n  char v6[4]; // [sp+Ch] [bp-4h] BYREF\n  char v7[4]; // [sp+10h] [bp+0h] BYREF\n\n  v5 = *((unsigned __int8 *)a3 + 262);\n  sub_775C20(v6);\n  sub_775C20(v7);\n  GJMultiplayerManager::handleIt((int)a1, v5, v6, v7, *((_DWORD *)a3 + 68));\n  sub_774008(v7);\n  sub_774008(v6);\n  cocos2d::CCObject::release((cocos2d::CCObject *)a3);\n}", "assembly": "; \n; GJMultiplayerManager::handleItND from 0x510540 to 0x5105b8 (120 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x510540\nSUB             SP, SP, #0x1C                                          ; +0x4, 0x510544\nLDR             R4, =(__stack_chk_guard_ptr - 0x510554)                ; +0x6, 0x510546\nADD             R6, SP, #0x1C+var_10                                   ; +0x8, 0x510548\nADD             R7, SP, #0x10                                          ; +0xa, 0x51054a\nADD.W           R1, R2, #0x108                                         ; +0xc, 0x51054c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x10, 0x510550\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x12, 0x510552\nMOV             R9, R0                                                 ; +0x14, 0x510554\nMOV             R0, R6                                                 ; +0x16, 0x510556\nMOV             R5, R2                                                 ; +0x18, 0x510558\nLDR             R3, [R4]                                               ; +0x1a, 0x51055a\nLDRB.W          R8, [R2,#0x106]                                        ; +0x1c, 0x51055c\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x20, 0x510560\nBL              sub_775C20                                             ; +0x22, 0x510562\nMOV             R0, R7                                                 ; +0x26, 0x510566\nADD.W           R1, R5, #0x10C                                         ; +0x28, 0x510568\nBL              sub_775C20                                             ; +0x2c, 0x51056c\nLDR.W           R3, [R5,#0x110]                                        ; +0x30, 0x510570\nMOV             R0, R9                                                 ; +0x34, 0x510574\nMOV             R1, R8                                                 ; +0x36, 0x510576\nMOV             R2, R6                                                 ; +0x38, 0x510578\nSTR             R3, [SP,#0x1C+var_1C]                                  ; +0x3a, 0x51057a\nMOV             R3, R7                                                 ; +0x3c, 0x51057c\nBL              _ZN20GJMultiplayerManager8handleItEbSsSs10GJHttpType; GJMultiplayerManager::handleIt(bool,std::string,std::string,GJHttpType) ; +0x3e, 0x51057e\nMOV             R0, R7                                                 ; +0x42, 0x510582\nBL              sub_774008                                             ; +0x44, 0x510584\nMOV             R0, R6                                                 ; +0x48, 0x510588\nBL              sub_774008                                             ; +0x4a, 0x51058a\nMOV             R0, R5; this                                           ; +0x4e, 0x51058e\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x50, 0x510590\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x54, 0x510594\nLDR             R3, [R4]                                               ; +0x56, 0x510596\nCMP             R2, R3                                                 ; +0x58, 0x510598\nBEQ             loc_5105B2                                             ; +0x5a, 0x51059a\nBLX             __stack_chk_fail                                       ; +0x5c, 0x51059c\nMOV             R0, R7                                                 ; +0x60, 0x5105a0\nBL              sub_774008                                             ; +0x62, 0x5105a2\nB               loc_5105A8                                             ; +0x66, 0x5105a6\nMOV             R0, R6                                                 ; +0x68, 0x5105a8\nBL              sub_774008                                             ; +0x6a, 0x5105aa\nBL              __cxa_end_cleanup                                      ; +0x6e, 0x5105ae\nADD             SP, SP, #0x1C                                          ; +0x72, 0x5105b2\nPOP.W           {R4-R9,PC}                                             ; +0x74, 0x5105b4", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}