{"type": "func", "start": 4295815340, "end": 4295815448, "name": "GJGameLevel::getLastBuildPageForTab", "pseudocode": "// \n// GJGameLevel::getLastBuildPageForTab from 0x1000cf0ac to 0x1000cf118 (108 bytes)\n// \n// 1 xrefs:\n// > EditorUI::setupCreateMenu @ 0x1001842f0\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 10:58:53 +0000\n// \n\n__int64 __fastcall GJGameLevel::getLastBuildPageForTab(__int64 a1, int a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x0\n  char *CString; // x0\n  __int64 v5; // x0\n  __int64 v6; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v9; // [xsp+1Fh] [xbp-11h]\n\n  v2 = *(_QWORD *)(a1 + 320);\n  v3 = sub_1003065B0(\"%i\", a2);\n  CString = (char *)cocos2d::CCString::getCString(v3);\n  sub_100009900(__p, CString);\n  v5 = cocos2d::CCDictionary::valueForKey(v2, __p);\n  v6 = cocos2d::CCString::intValue(v5);\n  if ( v9 < 0 )\n    operator delete(__p[0]);\n  return v6;\n}", "assembly": "; \n; GJGameLevel::getLastBuildPageForTab from 0x1000cf0ac to 0x1000cf118 (108 bytes)\n; \n; 1 xrefs:\n; > EditorUI::setupCreateMenu @ 0x1001842f0\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 10:58:53 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000cf0ac\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000cf0b0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000cf0b4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000cf0b8\nLDR             X19, [X0,#0x140]                                       ; +0x10, 0x1000cf0bc\nSTR             X1, [SP,#0x30+var_30]                                  ; +0x14, 0x1000cf0c0\nADRL            X0, aI; \"%i\"                                           ; +0x18, 0x1000cf0c4\nBL              sub_1003065B0                                          ; +0x20, 0x1000cf0cc\nBL              cocos2d__CCString__getCString                          ; +0x24, 0x1000cf0d0\nMOV             X1, X0; __s                                            ; +0x28, 0x1000cf0d4\nADD             X0, SP, #0x30+__p; int                                 ; +0x2c, 0x1000cf0d8\nBL              sub_100009900                                          ; +0x30, 0x1000cf0dc\nADD             X1, SP, #0x30+__p                                      ; +0x34, 0x1000cf0e0\nMOV             X0, X19                                                ; +0x38, 0x1000cf0e4\nBL              cocos2d__CCDictionary__valueForKey                     ; +0x3c, 0x1000cf0e8\nBL              cocos2d__CCString__intValue                            ; +0x40, 0x1000cf0ec\nMOV             X19, X0                                                ; +0x44, 0x1000cf0f0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x48, 0x1000cf0f4\nTBZ             W8, #0x1F, loc_1000CF104                               ; +0x4c, 0x1000cf0f8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x50, 0x1000cf0fc\nBL              __ZdlPv; operator delete(void *)                       ; +0x54, 0x1000cf100\nMOV             X0, X19                                                ; +0x58, 0x1000cf104\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x1000cf108\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x1000cf10c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x1000cf110\nRET                                                                    ; +0x68, 0x1000cf114", "xrefs": ["EditorUI::setupCreateMenu @ 0x1001842f0"], "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"}