{"type": "func", "start": 6126048, "end": 6126210, "name": "EditGameObjectPopup::create", "pseudocode": "// \n// EditGameObjectPopup::create from 0x5d79e0 to 0x5d7a82 (162 bytes)\n// \n// 1 xrefs:\n// > EditorUI::editObjectSpecial @ 0x483b66\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:54:09 +0000\n// \n\nSetupTriggerPopup *__fastcall EditGameObjectPopup::create(\n        EditGameObjectPopup *this,\n        EffectGameObject *a2,\n        cocos2d::CCArray *a3,\n        bool a4)\n{\n  SetupTriggerPopup *v7; // r4\n  int v8; // r3\n  SetupTriggerPopup *v9; // r0\n\n  v7 = (SetupTriggerPopup *)operator new(0x2C8u);\n  SetupTriggerPopup::SetupTriggerPopup(v7);\n  *(_DWORD *)v7 = &off_CB9B50;\n  *((_DWORD *)v7 + 66) = &off_CB9E48;\n  *((_DWORD *)v7 + 67) = &off_CB9E80;\n  *((_DWORD *)v7 + 68) = &off_CB9E8C;\n  *((_DWORD *)v7 + 69) = &off_CB9E9C;\n  *((_DWORD *)v7 + 70) = &off_CB9EB0;\n  *((_DWORD *)v7 + 79) = &off_CB9EC8;\n  *((_DWORD *)v7 + 83) = &off_CB9F08;\n  *((_DWORD *)v7 + 110) = &off_CB9F18;\n  *((_DWORD *)v7 + 130) = &off_CB9F3C;\n  *((_DWORD *)v7 + 131) = &off_CB9F48;\n  if ( EditGameObjectPopup::init(v7, this, a2, (int)a3) )\n  {\n    cocos2d::CCObject::autorelease(v7);\n  }\n  else\n  {\n    v8 = *(_DWORD *)v7;\n    v9 = v7;\n    v7 = nullptr;\n    (*(void (__fastcall **)(SetupTriggerPopup *))(v8 + 8))(v9);\n  }\n  return v7;\n}", "assembly": "; \n; EditGameObjectPopup::create from 0x5d79e0 to 0x5d7a82 (162 bytes)\n; \n; 1 xrefs:\n; > EditorUI::editObjectSpecial @ 0x483b66\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:54:09 +0000\n; \nPUSH            {R3-R7,LR}                                             ; +0x0, 0x5d79e0\nMOV             R7, R0                                                 ; +0x2, 0x5d79e2\nMOV.W           R0, #0x2C8; unsigned int                               ; +0x4, 0x5d79e4\nMOV             R6, R1                                                 ; +0x8, 0x5d79e8\nMOV             R5, R2                                                 ; +0xa, 0x5d79ea\nBL              _Znwj; operator new(uint)                              ; +0xc, 0x5d79ec\nMOV             R4, R0                                                 ; +0x10, 0x5d79f0\nBL              _ZN17SetupTriggerPopupC2Ev; SetupTriggerPopup::SetupTriggerPopup(void) ; +0x12, 0x5d79f2\nLDR             R3, =(_ZTV19EditGameObjectPopup_ptr - 0x5D7A00)        ; +0x16, 0x5d79f6\nMOV             R0, R4; this                                           ; +0x18, 0x5d79f8\nMOV             R1, R7; EffectGameObject *                             ; +0x1a, 0x5d79fa\nADD             R3, PC; _ZTV19EditGameObjectPopup_ptr                  ; +0x1c, 0x5d79fc\nLDR             R3, [R3]; `vtable for'EditGameObjectPopup ...          ; +0x1e, 0x5d79fe\nADD.W           R2, R3, #8                                             ; +0x20, 0x5d7a00\nSTR             R2, [R4]                                               ; +0x24, 0x5d7a04\nADD.W           R2, R3, #0x300                                         ; +0x26, 0x5d7a06\nSTR.W           R2, [R4,#0x108]                                        ; +0x2a, 0x5d7a0a\nADD.W           R2, R3, #0x338                                         ; +0x2e, 0x5d7a0e\nSTR.W           R2, [R4,#0x10C]                                        ; +0x32, 0x5d7a12\nADD.W           R2, R3, #0x344                                         ; +0x36, 0x5d7a16\nSTR.W           R2, [R4,#0x110]                                        ; +0x3a, 0x5d7a1a\nADD.W           R2, R3, #0x354                                         ; +0x3e, 0x5d7a1e\nSTR.W           R2, [R4,#0x114]                                        ; +0x42, 0x5d7a22\nADD.W           R2, R3, #0x368                                         ; +0x46, 0x5d7a26\nSTR.W           R2, [R4,#0x118]                                        ; +0x4a, 0x5d7a2a\nADD.W           R2, R3, #0x380                                         ; +0x4e, 0x5d7a2e\nSTR.W           R2, [R4,#0x13C]                                        ; +0x52, 0x5d7a32\nADD.W           R2, R3, #0x3C0                                         ; +0x56, 0x5d7a36\nSTR.W           R2, [R4,#0x14C]                                        ; +0x5a, 0x5d7a3a\nADD.W           R2, R3, #0x3D0                                         ; +0x5e, 0x5d7a3e\nSTR.W           R2, [R4,#0x1B8]                                        ; +0x62, 0x5d7a42\nADD.W           R2, R3, #0x3F4                                         ; +0x66, 0x5d7a46\nADD.W           R3, R3, #0x400                                         ; +0x6a, 0x5d7a4a\nSTR.W           R2, [R4,#0x208]                                        ; +0x6e, 0x5d7a4e\nMOV             R2, R6; cocos2d::CCArray *                             ; +0x72, 0x5d7a52\nSTR.W           R3, [R4,#0x20C]                                        ; +0x74, 0x5d7a54\nMOV             R3, R5; bool                                           ; +0x78, 0x5d7a58\nBL              _ZN19EditGameObjectPopup4initEP16EffectGameObjectPN7cocos2d7CCArrayEb; EditGameObjectPopup::init(EffectGameObject *,cocos2d::CCArray *,bool) ; +0x7a, 0x5d7a5a\nMOV             R5, R0                                                 ; +0x7e, 0x5d7a5e\nCBZ             R0, loc_5D7A74                                         ; +0x80, 0x5d7a60\nMOV             R0, R4; this                                           ; +0x82, 0x5d7a62\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x84, 0x5d7a64\nB               loc_5D7A7E                                             ; +0x88, 0x5d7a68\nMOV             R0, R4; void *                                         ; +0x8a, 0x5d7a6a\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0x5d7a6c\nBL              __cxa_end_cleanup                                      ; +0x90, 0x5d7a70\nLDR             R3, [R4]                                               ; +0x94, 0x5d7a74\nMOV             R0, R4                                                 ; +0x96, 0x5d7a76\nMOV             R4, R5                                                 ; +0x98, 0x5d7a78\nLDR             R3, [R3,#8]                                            ; +0x9a, 0x5d7a7a\nBLX             R3                                                     ; +0x9c, 0x5d7a7c\nMOV             R0, R4                                                 ; +0x9e, 0x5d7a7e\nPOP             {R3-R7,PC}                                             ; +0xa0, 0x5d7a80", "xrefs": ["EditorUI::editObjectSpecial @ 0x483b66"], "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"}