{"type": "func", "start": 7398864, "end": 7399044, "name": "GJLocalScore::create", "pseudocode": "// \n// GJLocalScore::create from 0x70e5d0 to 0x70e684 (180 bytes)\n// \n// 2 xrefs:\n// > LevelLeaderboard::getLocalScores @ 0x931b58\n// > <???> @ 0x95fd0\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\nGJLocalScore *GJLocalScore::create(int a1, int a2)\n{\n  __int64 v4; // x19\n\n  v4 = operator new(0x48u);\n  cocos2d::CCObject::CCObject((cocos2d::CCObject *)v4);\n  *(_DWORD *)(v4 + 56) = 0;\n  *(_DWORD *)(v4 + 60) = 0;\n  *(_QWORD *)v4 = &off_115DF90;\n  *(_BYTE *)(v4 + 64) = 0;\n  if ( GJLocalScore::init((GJLocalScore *)v4, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n    return (GJLocalScore *)v4;\n  }\n  else\n  {\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);\n    return nullptr;\n  }\n}", "assembly": "; \n; GJLocalScore::create from 0x70e5d0 to 0x70e684 (180 bytes)\n; \n; 2 xrefs:\n; > LevelLeaderboard::getLocalScores @ 0x931b58\n; > <???> @ 0x95fd0\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x70e5d0\nMOV             X29, SP                                                ; +0x4, 0x70e5d4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x8, 0x70e5d8\nMOV             W21, W0                                                ; +0xc, 0x70e5dc\nMOV             X0, #0x48 ; 'H'; unsigned __int64                      ; +0x10, 0x70e5e0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x14, 0x70e5e4\nMOV             W20, W1                                                ; +0x18, 0x70e5e8\nBL              _Znwm; operator new(ulong)                             ; +0x1c, 0x70e5ec\nMOV             X19, X0                                                ; +0x20, 0x70e5f0\nBL              _ZN7cocos2d8CCObjectC1Ev; cocos2d::CCObject::CCObject(void) ; +0x24, 0x70e5f4\nADRP            X3, #_ZTV12GJLocalScore_ptr@PAGE                       ; +0x28, 0x70e5f8\nMOV             X0, X19; this                                          ; +0x2c, 0x70e5fc\nMOV             W1, W21; int                                           ; +0x30, 0x70e600\nMOV             W2, W20; int                                           ; +0x34, 0x70e604\nLDR             X3, [X3,#_ZTV12GJLocalScore_ptr@PAGEOFF]; `vtable for'GJLocalScore ... ; +0x38, 0x70e608\nSTR             WZR, [X19,#0x38]                                       ; +0x3c, 0x70e60c\nADD             X3, X3, #0x10                                          ; +0x40, 0x70e610\nSTR             WZR, [X19,#0x3C]                                       ; +0x44, 0x70e614\nSTR             X3, [X19]                                              ; +0x48, 0x70e618\nSTRB            WZR, [X19,#0x40]                                       ; +0x4c, 0x70e61c\nBL              _ZN12GJLocalScore4initEii; GJLocalScore::init(int,int) ; +0x50, 0x70e620\nUXTB            W0, W0                                                 ; +0x54, 0x70e624\nCBZ             W0, loc_70E648                                         ; +0x58, 0x70e628\nMOV             X0, X19; this                                          ; +0x5c, 0x70e62c\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x60, 0x70e630\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x64, 0x70e634\nMOV             X0, X19                                                ; +0x68, 0x70e638\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x6c, 0x70e63c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x70, 0x70e640\nRET                                                                    ; +0x74, 0x70e644\nLDR             X1, [X19]                                              ; +0x78, 0x70e648\nMOV             X0, X19                                                ; +0x7c, 0x70e64c\nMOV             X19, #0                                                ; +0x80, 0x70e650\nLDR             X1, [X1,#0x10]                                         ; +0x84, 0x70e654\nBLR             X1                                                     ; +0x88, 0x70e658\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x8c, 0x70e65c\nMOV             X0, X19                                                ; +0x90, 0x70e660\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x94, 0x70e664\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x98, 0x70e668\nRET                                                                    ; +0x9c, 0x70e66c\nMOV             X20, X0                                                ; +0xa0, 0x70e670\nMOV             X0, X19; p                                             ; +0xa4, 0x70e674\nBL              _ZdlPv; operator delete(void *)                        ; +0xa8, 0x70e678\nMOV             X0, X20                                                ; +0xac, 0x70e67c\nBL              _Unwind_Resume                                         ; +0xb0, 0x70e680", "xrefs": ["LevelLeaderboard::getLocalScores @ 0x931b58", "<???> @ 0x95fd0"], "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"}