{"type": "func", "start": 7394944, "end": 7395036, "name": "EditorUI::removeOffset", "pseudocode": "// \n// EditorUI::removeOffset from 0x70d680 to 0x70d6dc (92 bytes)\n// \n// 2 xrefs:\n// > EditorUI::onCreateObject @ 0x487708\n// > EditorUI::transformObject @ 0x70ddb4\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:42 +0000\n// \n\nint __fastcall EditorUI::removeOffset(GJBaseGameLayer **this, GameObject *a2)\n{\n  int v4; // r0\n  _BYTE v6[8]; // [sp+4h] [bp-8h] BYREF\n  _BYTE v7[8]; // [sp+Ch] [bp+0h] BYREF\n\n  EditorUI::getRelativeOffset((EditorUI *)v6, (GameObject *)this, (int)a2);\n  v4 = (*(int (__fastcall **)(GameObject *))(*(_DWORD *)a2 + 96))(a2);\n  cocos2d::CCPoint::operator-(v7, v4, v6);\n  (*(void (__fastcall **)(GameObject *, _BYTE *))(*(_DWORD *)a2 + 92))(a2, v7);\n  return GJBaseGameLayer::reorderObjectSection(*(this + 236), a2);\n}", "assembly": "; \n; EditorUI::removeOffset from 0x70d680 to 0x70d6dc (92 bytes)\n; \n; 2 xrefs:\n; > EditorUI::onCreateObject @ 0x487708\n; > EditorUI::transformObject @ 0x70ddb4\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:42 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x70d680\nSUB             SP, SP, #0x18                                          ; +0x4, 0x70d684\nLDR             R5, =(__stack_chk_guard_ptr - 0x70D694)                ; +0x6, 0x70d686\nADD.W           R8, SP, #0x18+var_14                                   ; +0x8, 0x70d688\nMOV             R4, R1                                                 ; +0xc, 0x70d68c\nMOV             R6, R0                                                 ; +0xe, 0x70d68e\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x70d690\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x70d692\nMOV             R1, R6; GameObject *                                   ; +0x14, 0x70d694\nMOV             R2, R4                                                 ; +0x16, 0x70d696\nMOV             R0, R8; this                                           ; +0x18, 0x70d698\nLDR             R3, [R5]                                               ; +0x1a, 0x70d69a\nADD             R7, SP, #0xC                                           ; +0x1c, 0x70d69c\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x1e, 0x70d69e\nBL              _ZN8EditorUI17getRelativeOffsetEP10GameObject; EditorUI::getRelativeOffset(GameObject *) ; +0x20, 0x70d6a0\nLDR             R3, [R4]                                               ; +0x24, 0x70d6a4\nMOV             R0, R4                                                 ; +0x26, 0x70d6a6\nLDR             R3, [R3,#0x60]                                         ; +0x28, 0x70d6a8\nBLX             R3                                                     ; +0x2a, 0x70d6aa\nMOV             R2, R8                                                 ; +0x2c, 0x70d6ac\nMOV             R1, R0                                                 ; +0x2e, 0x70d6ae\nMOV             R0, R7                                                 ; +0x30, 0x70d6b0\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x32, 0x70d6b2\nLDR             R3, [R4]                                               ; +0x36, 0x70d6b6\nMOV             R0, R4                                                 ; +0x38, 0x70d6b8\nMOV             R1, R7                                                 ; +0x3a, 0x70d6ba\nLDR             R3, [R3,#0x5C]                                         ; +0x3c, 0x70d6bc\nBLX             R3                                                     ; +0x3e, 0x70d6be\nLDR.W           R0, [R6,#0x3B0]; this                                  ; +0x40, 0x70d6c0\nMOV             R1, R4; GameObject *                                   ; +0x44, 0x70d6c4\nBL              _ZN15GJBaseGameLayer20reorderObjectSectionEP10GameObject; GJBaseGameLayer::reorderObjectSection(GameObject *) ; +0x46, 0x70d6c6\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x4a, 0x70d6ca\nLDR             R3, [R5]                                               ; +0x4c, 0x70d6cc\nCMP             R2, R3                                                 ; +0x4e, 0x70d6ce\nBEQ             loc_70D6D6                                             ; +0x50, 0x70d6d0\nBLX             __stack_chk_fail                                       ; +0x52, 0x70d6d2\nADD             SP, SP, #0x18                                          ; +0x56, 0x70d6d6\nPOP.W           {R4-R8,PC}                                             ; +0x58, 0x70d6d8", "xrefs": ["EditorUI::onCreateObject @ 0x487708", "EditorUI::transformObject @ 0x70ddb4"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}