{"type": "func", "start": 5154056, "end": 5154192, "name": "CameraTriggerGameObject::create", "pseudocode": "// \n// CameraTriggerGameObject::create from 0x4ea508 to 0x4ea590 (136 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bbb8\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:51:07 +0000\n// \n\nEffectGameObject *__fastcall CameraTriggerGameObject::create(CameraTriggerGameObject *this, const char *a2)\n{\n  EffectGameObject *v3; // r4\n  int v4; // r3\n  int *v5; // r0\n\n  v3 = (EffectGameObject *)operator new(0x690u);\n  EffectGameObject::EffectGameObject(v3);\n  *(_DWORD *)v3 = &off_CA32E0;\n  *((_DWORD *)v3 + 66) = &off_CA368C;\n  *((_DWORD *)v3 + 70) = &off_CA36CC;\n  *((_BYTE *)v3 + 1648) = 0;\n  *((_BYTE *)v3 + 1649) = 0;\n  *((_DWORD *)v3 + 413) = 1065353216;\n  *((_DWORD *)v3 + 414) = 0;\n  *((_BYTE *)v3 + 1660) = 0;\n  *((_DWORD *)v3 + 416) = 0;\n  *((_BYTE *)v3 + 1668) = 0;\n  *((_DWORD *)v3 + 418) = 1065353216;\n  if ( CameraTriggerGameObject::init(v3, (const char *)this) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n  }\n  else\n  {\n    v4 = *(_DWORD *)v3;\n    v5 = (int *)v3;\n    v3 = nullptr;\n    (*(void (__fastcall **)(int *))(v4 + 8))(v5);\n  }\n  return v3;\n}", "assembly": "; \n; CameraTriggerGameObject::create from 0x4ea508 to 0x4ea590 (136 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bbb8\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:51:07 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4ea508\nMOV             R5, R0                                                 ; +0x2, 0x4ea50a\nMOV.W           R0, #0x690; unsigned int                               ; +0x4, 0x4ea50c\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4ea510\nMOV             R4, R0                                                 ; +0xc, 0x4ea514\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xe, 0x4ea516\nLDR             R3, =(_ZTV23CameraTriggerGameObject_ptr - 0x4EA526)    ; +0x12, 0x4ea51a\nMOV.W           R1, #0x3F800000                                        ; +0x14, 0x4ea51c\nMOVS            R0, #0                                                 ; +0x18, 0x4ea520\nADD             R3, PC; _ZTV23CameraTriggerGameObject_ptr              ; +0x1a, 0x4ea522\nLDR             R3, [R3]; `vtable for'CameraTriggerGameObject ...      ; +0x1c, 0x4ea524\nADD.W           R2, R3, #8                                             ; +0x1e, 0x4ea526\nSTR             R2, [R4]                                               ; +0x22, 0x4ea52a\nADD.W           R2, R3, #0x3B4                                         ; +0x24, 0x4ea52c\nSTR.W           R2, [R4,#0x108]                                        ; +0x28, 0x4ea530\nADDW            R2, R4, #0x674                                         ; +0x2c, 0x4ea534\nADD.W           R3, R3, #0x3F4                                         ; +0x30, 0x4ea538\nSTR.W           R3, [R4,#0x118]                                        ; +0x34, 0x4ea53c\nMOVS            R3, #0                                                 ; +0x38, 0x4ea540\nSTRB.W          R3, [R4,#0x670]                                        ; +0x3a, 0x4ea542\nSTRB.W          R3, [R4,#0x671]                                        ; +0x3e, 0x4ea546\nSTR             R1, [R2]                                               ; +0x42, 0x4ea54a\nADD.W           R2, R4, #0x680                                         ; +0x44, 0x4ea54c\nSTR.W           R3, [R4,#0x678]                                        ; +0x48, 0x4ea550\nSTRB.W          R3, [R4,#0x67C]                                        ; +0x4c, 0x4ea554\nSTR             R0, [R2]                                               ; +0x50, 0x4ea558\nMOV             R0, R4; this                                           ; +0x52, 0x4ea55a\nSTRB.W          R3, [R4,#0x684]                                        ; +0x54, 0x4ea55c\nADD.W           R3, R4, #0x688                                         ; +0x58, 0x4ea560\nSTR             R1, [R3]                                               ; +0x5c, 0x4ea564\nMOV             R1, R5; char *                                         ; +0x5e, 0x4ea566\nBL              _ZN23CameraTriggerGameObject4initEPKc; CameraTriggerGameObject::init(char const*) ; +0x60, 0x4ea568\nMOV             R5, R0                                                 ; +0x64, 0x4ea56c\nCBZ             R0, loc_4EA582                                         ; +0x66, 0x4ea56e\nMOV             R0, R4; this                                           ; +0x68, 0x4ea570\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x6a, 0x4ea572\nB               loc_4EA58C                                             ; +0x6e, 0x4ea576\nMOV             R0, R4; void *                                         ; +0x70, 0x4ea578\nBL              _ZdlPv; operator delete(void *)                        ; +0x72, 0x4ea57a\nBL              __cxa_end_cleanup                                      ; +0x76, 0x4ea57e\nLDR             R3, [R4]                                               ; +0x7a, 0x4ea582\nMOV             R0, R4                                                 ; +0x7c, 0x4ea584\nMOV             R4, R5                                                 ; +0x7e, 0x4ea586\nLDR             R3, [R3,#8]                                            ; +0x80, 0x4ea588\nBLX             R3                                                     ; +0x82, 0x4ea58a\nMOV             R0, R4                                                 ; +0x84, 0x4ea58c\nPOP             {R3-R5,PC}                                             ; +0x86, 0x4ea58e", "xrefs": ["GameObject::createWithKey @ 0x45bbb8"], "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"}