{"type": "func", "start": 7563320, "end": 7563392, "name": "GJLevelList::reorderLevelStep", "pseudocode": "// \n// GJLevelList::reorderLevelStep from 0x736838 to 0x736880 (72 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::cellPerformedAction @ 0xa78b04\n// > <???> @ 0x74100\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\nvoid GJLevelList::reorderLevelStep(GJLevelList *a1, int a2, bool a3)\n{\n  _BOOL4 v4; // w21\n  int v6; // w0\n  int v7; // w2\n\n  v4 = a3;\n  v6 = GJLevelList::orderForLevel(a1, a2);\n  if ( v4 )\n    v7 = -1;\n  else\n    v7 = 1;\n  GJLevelList::reorderLevel(a1, a2, v7 + v6);\n}", "assembly": "; \n; GJLevelList::reorderLevelStep from 0x736838 to 0x736880 (72 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::cellPerformedAction @ 0xa78b04\n; > <???> @ 0x74100\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, 0x736838\nMOV             X29, SP                                                ; +0x4, 0x73683c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x736840\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x736844\nMOV             X19, X0                                                ; +0x10, 0x736848\nUXTB            W21, W2                                                ; +0x14, 0x73684c\nMOV             W20, W1                                                ; +0x18, 0x736850\nBL              _ZN11GJLevelList13orderForLevelEi; GJLevelList::orderForLevel(int) ; +0x1c, 0x736854\nCMP             W21, WZR                                               ; +0x20, 0x736858\nMOV             W2, #1                                                 ; +0x24, 0x73685c\nCSINV           W2, W2, WZR, EQ                                        ; +0x28, 0x736860\nMOV             W1, W20; int                                           ; +0x2c, 0x736864\nADD             W2, W2, W0; int                                        ; +0x30, 0x736868\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x34, 0x73686c\nMOV             X0, X19; this                                          ; +0x38, 0x736870\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0x736874\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x736878\nB               _ZN11GJLevelList12reorderLevelEii; GJLevelList::reorderLevel(int,int) ; +0x44, 0x73687c", "xrefs": ["LevelListLayer::cellPerformedAction @ 0xa78b04", "<???> @ 0x74100"], "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"}