{"type": "func", "start": 5370807696, "end": 5370807751, "name": "GJAccountManager::init", "pseudocode": "// \n// GJAccountManager::init from 0x140200590 to 0x1402005c7 (55 bytes)\n// \n// 6 xrefs:\n// > GJAccountManager::sharedState @ 0x1402000cf\n// > PlayerObject::init @ 0x1403874e5\n// > GJAccountManager::sharedState @ 0x1402000c0\n// > <???> @ 0x140565520\n// > <???> @ 0x140565890\n// > <???> @ 0x1406ccabc\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\n// Merged with: GJAccountManager::init, GJActionManager::init\nbool __fastcall GJAccountManager::init(cocos2d::CCNode *a1)\n{\n  bool result; // al\n  __int64 v3; // rcx\n  cocos2d::CCObject *v4; // rax\n\n  result = cocos2d::CCNode::init(a1);\n  if ( result )\n  {\n    v4 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v3);\n    a1[1].__vftable = (cocos2d::CCNode_vtbl *)v4;\n    cocos2d::CCObject::retain(v4);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; GJAccountManager::init from 0x140200590 to 0x1402005c7 (55 bytes)\n; \n; 6 xrefs:\n; > GJAccountManager::sharedState @ 0x1402000cf\n; > PlayerObject::init @ 0x1403874e5\n; > GJAccountManager::sharedState @ 0x1402000c0\n; > <???> @ 0x140565520\n; > <???> @ 0x140565890\n; > <???> @ 0x1406ccabc\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    rbx                                                            ; +0x0, 0x140200590\nsub     rsp, 20h                                                       ; +0x2, 0x140200592\nmov     rbx, rcx                                                       ; +0x6, 0x140200596\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x9, 0x140200599\ntest    al, al                                                         ; +0xf, 0x14020059f\njnz     short loc_1402005A9                                            ; +0x11, 0x1402005a1\nadd     rsp, 20h                                                       ; +0x13, 0x1402005a3\npop     rbx                                                            ; +0x17, 0x1402005a7\nretn                                                                   ; +0x18, 0x1402005a8\ncall    cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x19, 0x1402005a9\nmov     rcx, rax                                                       ; +0x1f, 0x1402005af\nmov     [rbx+140h], rax                                                ; +0x22, 0x1402005b2\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x29, 0x1402005b9\nmov     al, 1                                                          ; +0x2f, 0x1402005bf\nadd     rsp, 20h                                                       ; +0x31, 0x1402005c1\npop     rbx                                                            ; +0x35, 0x1402005c5\nretn                                                                   ; +0x36, 0x1402005c6", "xrefs": ["GJAccountManager::sharedState @ 0x1402000cf", "PlayerObject::init @ 0x1403874e5", "GJAccountManager::sharedState @ 0x1402000c0", "<???> @ 0x140565520", "<???> @ 0x140565890", "<???> @ 0x1406ccabc"], "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"}