{"type": "func", "start": 7912956, "end": 7913036, "name": "EditorWindowPopup::syncWindowCenter", "pseudocode": "// \n// EditorWindowPopup::syncWindowCenter from 0x78bdfc to 0x78be4c (80 bytes)\n// \n// 2 xrefs:\n// > EditorWindowPopup::ccTouchBegan @ 0x78d168\n// > EditorWindowPopup::onClose @ 0x78d31a\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:59:37 +0000\n// \n\nint __fastcall EditorWindowPopup::syncWindowCenter(EditorWindowPopup *this)\n{\n  int v2; // r8\n  _BYTE v4[8]; // [sp+4h] [bp+0h] BYREF\n  _BYTE v5[8]; // [sp+Ch] [bp+8h] BYREF\n\n  v2 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 115) + 96))(*((_DWORD *)this + 115));\n  EditorWindowPopup::contentCenter((EditorWindowPopup *)v4);\n  cocos2d::CCPoint::operator+(v5, v2, v4);\n  return cocos2d::CCPoint::operator=((char *)this + 744, v5);\n}", "assembly": "; \n; EditorWindowPopup::syncWindowCenter from 0x78bdfc to 0x78be4c (80 bytes)\n; \n; 2 xrefs:\n; > EditorWindowPopup::ccTouchBegan @ 0x78d168\n; > EditorWindowPopup::onClose @ 0x78d31a\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:59:37 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x78bdfc\nMOV             R5, R0                                                 ; +0x4, 0x78be00\nLDR             R4, =(__stack_chk_guard_ptr - 0x78BE10)                ; +0x6, 0x78be02\nSUB             SP, SP, #0x18                                          ; +0x8, 0x78be04\nLDR.W           R0, [R0,#0x1CC]                                        ; +0xa, 0x78be06\nADD             R7, SP, #4                                             ; +0xe, 0x78be0a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x10, 0x78be0c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x12, 0x78be0e\nADD             R6, SP, #0x18+var_C                                    ; +0x14, 0x78be10\nLDR             R3, [R4]                                               ; +0x16, 0x78be12\nSTR             R3, [SP,#0x18+var_4]                                   ; +0x18, 0x78be14\nLDR             R3, [R0]                                               ; +0x1a, 0x78be16\nLDR             R3, [R3,#0x60]                                         ; +0x1c, 0x78be18\nBLX             R3                                                     ; +0x1e, 0x78be1a\nMOV             R1, R5                                                 ; +0x20, 0x78be1c\nMOV             R8, R0                                                 ; +0x22, 0x78be1e\nMOV             R0, R7; this                                           ; +0x24, 0x78be20\nBL              _ZNK17EditorWindowPopup13contentCenterEv; EditorWindowPopup::contentCenter(void) ; +0x26, 0x78be22\nMOV             R2, R7                                                 ; +0x2a, 0x78be26\nMOV             R0, R6                                                 ; +0x2c, 0x78be28\nMOV             R1, R8                                                 ; +0x2e, 0x78be2a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x30, 0x78be2c\nADD.W           R0, R5, #0x2E8                                         ; +0x34, 0x78be30\nMOV             R1, R6                                                 ; +0x38, 0x78be34\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3a, 0x78be36\nLDR             R2, [SP,#0x18+var_4]                                   ; +0x3e, 0x78be3a\nLDR             R3, [R4]                                               ; +0x40, 0x78be3c\nCMP             R2, R3                                                 ; +0x42, 0x78be3e\nBEQ             loc_78BE46                                             ; +0x44, 0x78be40\nBLX             __stack_chk_fail                                       ; +0x46, 0x78be42\nADD             SP, SP, #0x18                                          ; +0x4a, 0x78be46\nPOP.W           {R4-R8,PC}                                             ; +0x4c, 0x78be48", "xrefs": ["EditorWindowPopup::ccTouchBegan @ 0x78d168", "EditorWindowPopup::onClose @ 0x78d31a"], "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"}