{"type": "func", "start": 4297452392, "end": 4297452504, "name": "LocalLevelManager::moveLevelToTop", "pseudocode": "// \n// LocalLevelManager::moveLevelToTop from 0x10025eb68 to 0x10025ebd8 (112 bytes)\n// \n// 1 xrefs:\n// > EditLevelLayer::FLAlert_Clicked @ 0x1001122ac\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:01:37 +0000\n// \n\n__int64 __fastcall LocalLevelManager::moveLevelToTop(__int64 result, _DWORD *a2)\n{\n  __int64 v3; // x19\n\n  if ( a2 )\n  {\n    v3 = result;\n    result = sub_1002E7638(*(_QWORD *)(result + 360));\n    if ( (_DWORD)result )\n    {\n      cocos2d::CCObject::retain((__int64)a2);\n      sub_1002E765C(*(_QWORD *)(v3 + 360), a2, 1);\n      sub_1002E7640(*(_QWORD *)(v3 + 360), a2, 0);\n      cocos2d::CCObject::release(a2);\n      return LocalLevelManager::updateLevelOrder(v3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; LocalLevelManager::moveLevelToTop from 0x10025eb68 to 0x10025ebd8 (112 bytes)\n; \n; 1 xrefs:\n; > EditLevelLayer::FLAlert_Clicked @ 0x1001122ac\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:01:37 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10025eb68\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10025eb6c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10025eb70\nCBZ             X1, loc_10025EBCC                                      ; +0xc, 0x10025eb74\nMOV             X20, X1                                                ; +0x10, 0x10025eb78\nMOV             X19, X0                                                ; +0x14, 0x10025eb7c\nLDR             X0, [X0,#0x168]                                        ; +0x18, 0x10025eb80\nBL              sub_1002E7638                                          ; +0x1c, 0x10025eb84\nCBZ             W0, loc_10025EBCC                                      ; +0x20, 0x10025eb88\nMOV             X0, X20                                                ; +0x24, 0x10025eb8c\nBL              cocos2d__CCObject__retain                              ; +0x28, 0x10025eb90\nLDR             X0, [X19,#0x168]                                       ; +0x2c, 0x10025eb94\nMOV             X1, X20                                                ; +0x30, 0x10025eb98\nMOV             W2, #1                                                 ; +0x34, 0x10025eb9c\nBL              sub_1002E765C                                          ; +0x38, 0x10025eba0\nLDR             X0, [X19,#0x168]                                       ; +0x3c, 0x10025eba4\nMOV             X1, X20                                                ; +0x40, 0x10025eba8\nMOV             W2, #0                                                 ; +0x44, 0x10025ebac\nBL              sub_1002E7640                                          ; +0x48, 0x10025ebb0\nMOV             X0, X20                                                ; +0x4c, 0x10025ebb4\nBL              cocos2d__CCObject__release                             ; +0x50, 0x10025ebb8\nMOV             X0, X19                                                ; +0x54, 0x10025ebbc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10025ebc0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x10025ebc4\nB               LocalLevelManager__updateLevelOrder                    ; +0x60, 0x10025ebc8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10025ebcc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10025ebd0\nRET                                                                    ; +0x6c, 0x10025ebd4", "xrefs": ["EditLevelLayer::FLAlert_Clicked @ 0x1001122ac"], "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"}