{"type": "func", "start": 4298032380, "end": 4298032500, "name": "LevelLeaderboard::create", "pseudocode": "// \n// LevelLeaderboard::create from 0x1002ec4fc to 0x1002ec574 (120 bytes)\n// \n// 4 xrefs:\n// > sub_10002BA78 @ 0x10002bac4\n// > sub_1001113F0 @ 0x10011141c\n// > sub_1002EDE1C @ 0x1002ede7c\n// > sub_100393EDC @ 0x100393f2c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:02:53 +0000\n// \n\nvoid *__fastcall LevelLeaderboard::create(__int64 a1, __int64 a2, __int64 a3)\n{\n  void *v6; // x19\n\n  v6 = operator new(0x2F0u);\n  LevelLeaderboard::LevelLeaderboard();\n  if ( (unsigned int)LevelLeaderboard::init(v6, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *))(*(_QWORD *)v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; LevelLeaderboard::create from 0x1002ec4fc to 0x1002ec574 (120 bytes)\n; \n; 4 xrefs:\n; > sub_10002BA78 @ 0x10002bac4\n; > sub_1001113F0 @ 0x10011141c\n; > sub_1002EDE1C @ 0x1002ede7c\n; > sub_100393EDC @ 0x100393f2c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:02:53 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1002ec4fc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1002ec500\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1002ec504\nADD             X29, SP, #0x20                                         ; +0xc, 0x1002ec508\nMOV             X20, X2                                                ; +0x10, 0x1002ec50c\nMOV             X21, X1                                                ; +0x14, 0x1002ec510\nMOV             X22, X0                                                ; +0x18, 0x1002ec514\nMOV             W0, #0x2F0; __sz                                       ; +0x1c, 0x1002ec518\nBL              __Znwm; operator new(ulong)                            ; +0x20, 0x1002ec51c\nMOV             X19, X0                                                ; +0x24, 0x1002ec520\nBL              LevelLeaderboard__LevelLeaderboard                     ; +0x28, 0x1002ec524\nMOV             X0, X19                                                ; +0x2c, 0x1002ec528\nMOV             X1, X22                                                ; +0x30, 0x1002ec52c\nMOV             X2, X21                                                ; +0x34, 0x1002ec530\nMOV             X3, X20                                                ; +0x38, 0x1002ec534\nBL              LevelLeaderboard__init                                 ; +0x3c, 0x1002ec538\nCBZ             W0, loc_1002EC54C                                      ; +0x40, 0x1002ec53c\nMOV             X0, X19                                                ; +0x44, 0x1002ec540\nBL              cocos2d__CCObject__autorelease                         ; +0x48, 0x1002ec544\nB               loc_1002EC560                                          ; +0x4c, 0x1002ec548\nLDR             X8, [X19]                                              ; +0x50, 0x1002ec54c\nLDR             X8, [X8,#0x10]                                         ; +0x54, 0x1002ec550\nMOV             X0, X19                                                ; +0x58, 0x1002ec554\nBLR             X8                                                     ; +0x5c, 0x1002ec558\nMOV             X19, #0                                                ; +0x60, 0x1002ec55c\nMOV             X0, X19                                                ; +0x64, 0x1002ec560\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x1002ec564\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1002ec568\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x70, 0x1002ec56c\nRET                                                                    ; +0x74, 0x1002ec570", "xrefs": ["sub_10002BA78 @ 0x10002bac4", "sub_1001113F0 @ 0x10011141c", "sub_1002EDE1C @ 0x1002ede7c", "sub_100393EDC @ 0x100393f2c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}