{"type": "func", "start": 12584260, "end": 12584420, "name": "EditorUI::applyOffset", "pseudocode": "// \n// EditorUI::applyOffset from 0xc00544 to 0xc005e4 (160 bytes)\n// \n// 3 xrefs:\n// > EditorUI::onCreateObject @ 0x7ca2fc\n// > EditorUI::transformObject @ 0xc01394\n// > <???> @ 0xe5060\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 13:03:48 +0000\n// \n\n__int64 __fastcall EditorUI::applyOffset(GJBaseGameLayer **this, GameObject *a2)\n{\n  __int64 v4; // x0\n  _BYTE v6[8]; // [xsp+48h] [xbp+48h] BYREF\n  __int64 v7; // [xsp+50h] [xbp+50h] BYREF\n\n  EditorUI::getRelativeOffset((cocos2d::CCPoint *)v6, a2);\n  v4 = (*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)a2 + 192LL))(a2);\n  cocos2d::CCPoint::operator+(&v7, v4);\n  (*(void (__fastcall **)(GameObject *, __int64 *))(*(_QWORD *)a2 + 184LL))(a2, &v7);\n  GJBaseGameLayer::reorderObjectSection(*(this + 180), a2);\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::applyOffset from 0xc00544 to 0xc005e4 (160 bytes)\n; \n; 3 xrefs:\n; > EditorUI::onCreateObject @ 0x7ca2fc\n; > EditorUI::transformObject @ 0xc01394\n; > <???> @ 0xe5060\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 13:03:48 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xc00544\nMOV             X29, SP                                                ; +0x4, 0xc00548\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0xc0054c\nADRP            X20, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xc00550\nSTR             X23, [SP,#0x60+var_30]                                 ; +0x10, 0xc00554\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0xc00558\nADD             X22, X29, #0x60+var_18                                 ; +0x18, 0xc0055c\nMOV             X19, X1                                                ; +0x1c, 0xc00560\nLDR             X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc00564\nMOV             X8, X22                                                ; +0x24, 0xc00568\nMOV             X23, X0                                                ; +0x28, 0xc0056c\nADD             X21, X29, #0x60+var_10                                 ; +0x2c, 0xc00570\nLDR             X2, [X20]                                              ; +0x30, 0xc00574\nSTR             X2, [X29,#0x60+var_8]                                  ; +0x34, 0xc00578\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x38, 0xc0057c\nLDR             X1, [X19]                                              ; +0x3c, 0xc00580\nMOV             X0, X19                                                ; +0x40, 0xc00584\nLDR             X1, [X1,#0xC0]                                         ; +0x44, 0xc00588\nBLR             X1                                                     ; +0x48, 0xc0058c\nMOV             X8, X21                                                ; +0x4c, 0xc00590\nMOV             X1, X22                                                ; +0x50, 0xc00594\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x54, 0xc00598\nLDR             X2, [X19]                                              ; +0x58, 0xc0059c\nMOV             X0, X19                                                ; +0x5c, 0xc005a0\nMOV             X1, X21                                                ; +0x60, 0xc005a4\nLDR             X2, [X2,#0xB8]                                         ; +0x64, 0xc005a8\nBLR             X2                                                     ; +0x68, 0xc005ac\nLDR             X0, [X23,#0x5A0]; this                                 ; +0x6c, 0xc005b0\nMOV             X1, X19; GameObject *                                  ; +0x70, 0xc005b4\nBL              _ZN15GJBaseGameLayer20reorderObjectSectionEP10GameObject; GJBaseGameLayer::reorderObjectSection(GameObject *) ; +0x74, 0xc005b8\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x78, 0xc005bc\nLDR             X0, [X20]                                              ; +0x7c, 0xc005c0\nCMP             X1, X0                                                 ; +0x80, 0xc005c4\nB.NE            loc_C005E0                                             ; +0x84, 0xc005c8\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x88, 0xc005cc\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0x8c, 0xc005d0\nLDR             X23, [SP,#0x60+var_30]                                 ; +0x90, 0xc005d4\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0x94, 0xc005d8\nRET                                                                    ; +0x98, 0xc005dc\nBL              .__stack_chk_fail                                      ; +0x9c, 0xc005e0", "xrefs": ["EditorUI::onCreateObject @ 0x7ca2fc", "EditorUI::transformObject @ 0xc01394", "<???> @ 0xe5060"], "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"}