{"type": "func", "start": 5152964, "end": 5153082, "name": "CountTriggerGameObject::create", "pseudocode": "// \n// CountTriggerGameObject::create from 0x4ea0c4 to 0x4ea13a (118 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bbd4\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 CountTriggerGameObject::create(CountTriggerGameObject *this, const char *a2)\n{\n  EffectGameObject *v3; // r4\n  int v4; // r3\n  int *v5; // r0\n\n  v3 = (EffectGameObject *)operator new(0x680u);\n  EffectGameObject::EffectGameObject(v3);\n  *(_DWORD *)v3 = &off_CA22C0;\n  *((_DWORD *)v3 + 70) = &off_CA26AC;\n  *((_DWORD *)v3 + 412) = 0;\n  *((_DWORD *)v3 + 413) = 0;\n  *((_BYTE *)v3 + 1656) = 0;\n  *((_BYTE *)v3 + 1657) = 0;\n  *((_DWORD *)v3 + 66) = &off_CA266C;\n  *((_DWORD *)v3 + 415) = 1065353216;\n  if ( CountTriggerGameObject::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; CountTriggerGameObject::create from 0x4ea0c4 to 0x4ea13a (118 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bbd4\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, 0x4ea0c4\nMOV             R5, R0                                                 ; +0x2, 0x4ea0c6\nMOV.W           R0, #0x680; unsigned int                               ; +0x4, 0x4ea0c8\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4ea0cc\nMOV             R4, R0                                                 ; +0xc, 0x4ea0d0\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xe, 0x4ea0d2\nLDR             R3, =(_ZTV22CountTriggerGameObject_ptr - 0x4EA0E0)     ; +0x12, 0x4ea0d6\nMOV             R1, R5; char *                                         ; +0x14, 0x4ea0d8\nMOV             R0, R4; this                                           ; +0x16, 0x4ea0da\nADD             R3, PC; _ZTV22CountTriggerGameObject_ptr               ; +0x18, 0x4ea0dc\nLDR             R3, [R3]; `vtable for'CountTriggerGameObject ...       ; +0x1a, 0x4ea0de\nADD.W           R2, R3, #8                                             ; +0x1c, 0x4ea0e0\nSTR             R2, [R4]                                               ; +0x20, 0x4ea0e4\nADD.W           R2, R3, #0x3B4                                         ; +0x22, 0x4ea0e6\nADD.W           R3, R3, #0x3F4                                         ; +0x26, 0x4ea0ea\nSTR.W           R3, [R4,#0x118]                                        ; +0x2a, 0x4ea0ee\nMOVS            R3, #0                                                 ; +0x2e, 0x4ea0f2\nSTR.W           R3, [R4,#0x670]                                        ; +0x30, 0x4ea0f4\nSTR.W           R3, [R4,#0x674]                                        ; +0x34, 0x4ea0f8\nSTRB.W          R3, [R4,#0x678]                                        ; +0x38, 0x4ea0fc\nSTRB.W          R3, [R4,#0x679]                                        ; +0x3c, 0x4ea100\nADDW            R3, R4, #0x67C                                         ; +0x40, 0x4ea104\nSTR.W           R2, [R4,#0x108]                                        ; +0x44, 0x4ea108\nMOV.W           R2, #0x3F800000                                        ; +0x48, 0x4ea10c\nSTR             R2, [R3]                                               ; +0x4c, 0x4ea110\nBL              _ZN22CountTriggerGameObject4initEPKc; CountTriggerGameObject::init(char const*) ; +0x4e, 0x4ea112\nMOV             R5, R0                                                 ; +0x52, 0x4ea116\nCBZ             R0, loc_4EA12C                                         ; +0x54, 0x4ea118\nMOV             R0, R4; this                                           ; +0x56, 0x4ea11a\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x58, 0x4ea11c\nB               loc_4EA136                                             ; +0x5c, 0x4ea120\nMOV             R0, R4; void *                                         ; +0x5e, 0x4ea122\nBL              _ZdlPv; operator delete(void *)                        ; +0x60, 0x4ea124\nBL              __cxa_end_cleanup                                      ; +0x64, 0x4ea128\nLDR             R3, [R4]                                               ; +0x68, 0x4ea12c\nMOV             R0, R4                                                 ; +0x6a, 0x4ea12e\nMOV             R4, R5                                                 ; +0x6c, 0x4ea130\nLDR             R3, [R3,#8]                                            ; +0x6e, 0x4ea132\nBLX             R3                                                     ; +0x70, 0x4ea134\nMOV             R0, R4                                                 ; +0x72, 0x4ea136\nPOP             {R3-R5,PC}                                             ; +0x74, 0x4ea138", "xrefs": ["GameObject::createWithKey @ 0x45bbd4"], "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"}