{"type": "func", "start": 7912820, "end": 7912900, "name": "EditorWindowPopup::contentCenter", "pseudocode": "// \n// EditorWindowPopup::contentCenter from 0x78bd74 to 0x78bdc4 (80 bytes)\n// \n// 7 xrefs:\n// > MoveStepPopup::onBuildWindowContent @ 0x744dbe\n// > FindObjectPopup::onBuildWindowContent @ 0x77b610\n// > EditorWindowPopup::syncWindowCenter @ 0x78be22\n// > EditorWindowPopup::layoutWindow @ 0x78be6a\n// > EditorWindowPopup::initWindow @ 0x78c9a0\n// > EditorWindowPopup::onClose @ 0x78d32c\n// > GridSettingsLayer::onBuildWindowContent @ 0x78e848\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\nEditorWindowPopup *__fastcall EditorWindowPopup::contentCenter(EditorWindowPopup *this)\n{\n  float v3[2]; // [sp+4h] [bp-10h] BYREF\n\n  cocos2d::CCDirector::sharedDirector(this);\n  cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v3);\n  cocos2d::CCPoint::CCPoint(this, v3[0] * 0.5, v3[1] * 0.5);\n  return this;\n}", "assembly": "; \n; EditorWindowPopup::contentCenter from 0x78bd74 to 0x78bdc4 (80 bytes)\n; \n; 7 xrefs:\n; > MoveStepPopup::onBuildWindowContent @ 0x744dbe\n; > FindObjectPopup::onBuildWindowContent @ 0x77b610\n; > EditorWindowPopup::syncWindowCenter @ 0x78be22\n; > EditorWindowPopup::layoutWindow @ 0x78be6a\n; > EditorWindowPopup::initWindow @ 0x78c9a0\n; > EditorWindowPopup::onClose @ 0x78d32c\n; > GridSettingsLayer::onBuildWindowContent @ 0x78e848\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            {R4,R5,LR}                                             ; +0x0, 0x78bd74\nSUB             SP, SP, #0x14                                          ; +0x2, 0x78bd76\nLDR             R4, =(__stack_chk_guard_ptr - 0x78BD80)                ; +0x4, 0x78bd78\nMOV             R5, R0                                                 ; +0x6, 0x78bd7a\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0x8, 0x78bd7c\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xa, 0x78bd7e\nLDR             R3, [R4]                                               ; +0xc, 0x78bd80\nSTR             R3, [SP,#0x14+var_8]                                   ; +0xe, 0x78bd82\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x10, 0x78bd84\nMOV             R1, R0                                                 ; +0x14, 0x78bd88\nADD             R0, SP, #0x14+var_10; this                             ; +0x16, 0x78bd8a\nBL              _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x18, 0x78bd8c\nVMOV.F32        S15, #0.5                                              ; +0x1c, 0x78bd90\nVLDR            S14, [SP,#0x14+var_10]                                 ; +0x20, 0x78bd94\nMOV             R0, R5; this                                           ; +0x24, 0x78bd98\nVMUL.F32        S14, S14, S15                                          ; +0x26, 0x78bd9a\nVMOV            R1, S14; float                                         ; +0x2a, 0x78bd9e\nVLDR            S14, [SP,#0x14+var_C]                                  ; +0x2e, 0x78bda2\nVMUL.F32        S15, S14, S15                                          ; +0x32, 0x78bda6\nVMOV            R2, S15; float                                         ; +0x36, 0x78bdaa\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3a, 0x78bdae\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x3e, 0x78bdb2\nLDR             R3, [R4]                                               ; +0x40, 0x78bdb4\nMOV             R0, R5                                                 ; +0x42, 0x78bdb6\nCMP             R2, R3                                                 ; +0x44, 0x78bdb8\nBEQ             loc_78BDC0                                             ; +0x46, 0x78bdba\nBLX             __stack_chk_fail                                       ; +0x48, 0x78bdbc\nADD             SP, SP, #0x14                                          ; +0x4c, 0x78bdc0\nPOP             {R4,R5,PC}                                             ; +0x4e, 0x78bdc2", "xrefs": ["MoveStepPopup::onBuildWindowContent @ 0x744dbe", "FindObjectPopup::onBuildWindowContent @ 0x77b610", "EditorWindowPopup::syncWindowCenter @ 0x78be22", "EditorWindowPopup::layoutWindow @ 0x78be6a", "EditorWindowPopup::initWindow @ 0x78c9a0", "EditorWindowPopup::onClose @ 0x78d32c", "GridSettingsLayer::onBuildWindowContent @ 0x78e848"], "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"}