{"type": "func", "start": 5152388, "end": 5152514, "name": "AdvancedFollowEditObject::create", "pseudocode": "// \n// AdvancedFollowEditObject::create from 0x4e9e84 to 0x4e9f02 (126 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bbfa\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\nAdvancedFollowTriggerObject *__fastcall AdvancedFollowEditObject::create(\n        AdvancedFollowEditObject *this,\n        const char *a2)\n{\n  AdvancedFollowTriggerObject *v3; // r4\n  int v4; // r3\n  int *v5; // r0\n\n  v3 = (AdvancedFollowTriggerObject *)operator new(0x778u);\n  AdvancedFollowTriggerObject::AdvancedFollowTriggerObject(v3);\n  *(_DWORD *)v3 = &off_C9E640;\n  *((_DWORD *)v3 + 70) = &off_C9EA2C;\n  *((_DWORD *)v3 + 66) = &off_C9E9EC;\n  *((_DWORD *)v3 + 473) = 1065353216;\n  *((_DWORD *)v3 + 474) = 0;\n  *((_DWORD *)v3 + 475) = 1065353216;\n  *((_DWORD *)v3 + 476) = 0;\n  *((_BYTE *)v3 + 1908) = 0;\n  if ( AdvancedFollowEditObject::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; AdvancedFollowEditObject::create from 0x4e9e84 to 0x4e9f02 (126 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bbfa\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, 0x4e9e84\nMOV             R5, R0                                                 ; +0x2, 0x4e9e86\nMOV.W           R0, #0x778; unsigned int                               ; +0x4, 0x4e9e88\nBL              _Znwj; operator new(uint)                              ; +0x8, 0x4e9e8c\nMOV             R4, R0                                                 ; +0xc, 0x4e9e90\nBL              _ZN27AdvancedFollowTriggerObjectC2Ev; AdvancedFollowTriggerObject::AdvancedFollowTriggerObject(void) ; +0xe, 0x4e9e92\nLDR             R3, =(_ZTV24AdvancedFollowEditObject_ptr - 0x4E9EA2)   ; +0x12, 0x4e9e96\nMOV.W           R1, #0x3F800000                                        ; +0x14, 0x4e9e98\nMOV             R0, R4; this                                           ; +0x18, 0x4e9e9c\nADD             R3, PC; _ZTV24AdvancedFollowEditObject_ptr             ; +0x1a, 0x4e9e9e\nLDR             R3, [R3]; `vtable for'AdvancedFollowEditObject ...     ; +0x1c, 0x4e9ea0\nADD.W           R2, R3, #8                                             ; +0x1e, 0x4e9ea2\nSTR             R2, [R4]                                               ; +0x22, 0x4e9ea6\nADD.W           R2, R3, #0x3B4                                         ; +0x24, 0x4e9ea8\nADD.W           R3, R3, #0x3F4                                         ; +0x28, 0x4e9eac\nSTR.W           R3, [R4,#0x118]                                        ; +0x2c, 0x4e9eb0\nADDW            R3, R4, #0x764                                         ; +0x30, 0x4e9eb4\nSTR.W           R2, [R4,#0x108]                                        ; +0x34, 0x4e9eb8\nMOVS            R2, #0                                                 ; +0x38, 0x4e9ebc\nSTR             R1, [R3]                                               ; +0x3a, 0x4e9ebe\nADD.W           R3, R4, #0x768                                         ; +0x3c, 0x4e9ec0\nSTR             R2, [R3]                                               ; +0x40, 0x4e9ec4\nADDW            R3, R4, #0x76C                                         ; +0x42, 0x4e9ec6\nSTR             R1, [R3]                                               ; +0x46, 0x4e9eca\nADD.W           R3, R4, #0x770                                         ; +0x48, 0x4e9ecc\nMOV             R1, R5; char *                                         ; +0x4c, 0x4e9ed0\nSTR             R2, [R3]                                               ; +0x4e, 0x4e9ed2\nMOVS            R3, #0                                                 ; +0x50, 0x4e9ed4\nSTRB.W          R3, [R4,#0x774]                                        ; +0x52, 0x4e9ed6\nBL              _ZN24AdvancedFollowEditObject4initEPKc; AdvancedFollowEditObject::init(char const*) ; +0x56, 0x4e9eda\nMOV             R5, R0                                                 ; +0x5a, 0x4e9ede\nCBZ             R0, loc_4E9EF4                                         ; +0x5c, 0x4e9ee0\nMOV             R0, R4; this                                           ; +0x5e, 0x4e9ee2\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x60, 0x4e9ee4\nB               loc_4E9EFE                                             ; +0x64, 0x4e9ee8\nMOV             R0, R4; void *                                         ; +0x66, 0x4e9eea\nBL              _ZdlPv; operator delete(void *)                        ; +0x68, 0x4e9eec\nBL              __cxa_end_cleanup                                      ; +0x6c, 0x4e9ef0\nLDR             R3, [R4]                                               ; +0x70, 0x4e9ef4\nMOV             R0, R4                                                 ; +0x72, 0x4e9ef6\nMOV             R4, R5                                                 ; +0x74, 0x4e9ef8\nLDR             R3, [R3,#8]                                            ; +0x76, 0x4e9efa\nBLX             R3                                                     ; +0x78, 0x4e9efc\nMOV             R0, R4                                                 ; +0x7a, 0x4e9efe\nPOP             {R3-R5,PC}                                             ; +0x7c, 0x4e9f00", "xrefs": ["GameObject::createWithKey @ 0x45bbfa"], "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"}