{"type": "func", "start": 4295687408, "end": 4295687500, "name": "GJLocalScore::create", "pseudocode": "// \n// GJLocalScore::create from 0x1000afcf0 to 0x1000afd4c (92 bytes)\n// \n// 1 xrefs:\n// > LevelLeaderboard::getLocalScores @ 0x100250af8\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 *__fastcall GJLocalScore::create(int a1, int a2)\n{\n  _BYTE *v4; // x19\n\n  v4 = operator new(0x48u);\n  cocos2d::CCObject::CCObject((__int64)v4);\n  *(_QWORD *)v4 = &off_100781560;\n  v4[64] = 0;\n  *((_DWORD *)v4 + 14) = a1;\n  *((_DWORD *)v4 + 15) = a2;\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);\n  return (GJLocalScore *)v4;\n}", "assembly": "; \n; GJLocalScore::create from 0x1000afcf0 to 0x1000afd4c (92 bytes)\n; \n; 1 xrefs:\n; > LevelLeaderboard::getLocalScores @ 0x100250af8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1000afcf0\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1000afcf4\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1000afcf8\nADD             X29, SP, #0x20                                         ; +0xc, 0x1000afcfc\nMOV             X20, X1                                                ; +0x10, 0x1000afd00\nMOV             X21, X0                                                ; +0x14, 0x1000afd04\nMOV             W0, #0x48 ; 'H'; __sz                                  ; +0x18, 0x1000afd08\nBL              __Znwm; operator new(ulong)                            ; +0x1c, 0x1000afd0c\nMOV             X19, X0                                                ; +0x20, 0x1000afd10\nBL              cocos2d__CCObject__CCObject                            ; +0x24, 0x1000afd14\nADRL            X8, unk_100781550                                      ; +0x28, 0x1000afd18\nADD             X8, X8, #(off_100781560 - 0x100781550)                 ; +0x30, 0x1000afd20\nSTR             X8, [X19]                                              ; +0x34, 0x1000afd24\nSTRB            WZR, [X19,#0x40]                                       ; +0x38, 0x1000afd28\nSTP             W21, W20, [X19,#0x38]                                  ; +0x3c, 0x1000afd2c\nMOV             X0, X19                                                ; +0x40, 0x1000afd30\nBL              cocos2d__CCObject__autorelease                         ; +0x44, 0x1000afd34\nMOV             X0, X19                                                ; +0x48, 0x1000afd38\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4c, 0x1000afd3c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x50, 0x1000afd40\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x54, 0x1000afd44\nRET                                                                    ; +0x58, 0x1000afd48", "xrefs": ["LevelLeaderboard::getLocalScores @ 0x100250af8"], "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"}