{"type": "func", "start": 5156980, "end": 5157080, "name": "CheckpointGameObject::create", "pseudocode": "// \n// CheckpointGameObject::create from 0x4eb074 to 0x4eb0d8 (100 bytes)\n// \n// 1 xrefs:\n// > GameObject::createWithKey @ 0x45bb00\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:08 +0000\n// \n\nEffectGameObject *__fastcall CheckpointGameObject::create(CheckpointGameObject *this)\n{\n  EffectGameObject *v1; // r4\n  int v2; // r3\n  int *v3; // r0\n\n  v1 = (EffectGameObject *)operator new(0x680u);\n  EffectGameObject::EffectGameObject(v1);\n  *(_DWORD *)v1 = &off_CA1EB8;\n  *((_DWORD *)v1 + 66) = &off_CA2264;\n  *((_DWORD *)v1 + 70) = &off_CA22A4;\n  *((_BYTE *)v1 + 1648) = 0;\n  *((_DWORD *)v1 + 413) = 0;\n  *((_DWORD *)v1 + 414) = 0;\n  if ( CheckpointGameObject::init(v1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    v2 = *(_DWORD *)v1;\n    v3 = (int *)v1;\n    v1 = nullptr;\n    (*(void (__fastcall **)(int *))(v2 + 8))(v3);\n  }\n  return v1;\n}", "assembly": "; \n; CheckpointGameObject::create from 0x4eb074 to 0x4eb0d8 (100 bytes)\n; \n; 1 xrefs:\n; > GameObject::createWithKey @ 0x45bb00\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:08 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x4eb074\nMOV.W           R0, #0x680; unsigned int                               ; +0x2, 0x4eb076\nBL              _Znwj; operator new(uint)                              ; +0x6, 0x4eb07a\nMOV             R4, R0                                                 ; +0xa, 0x4eb07e\nBL              _ZN16EffectGameObjectC2Ev; EffectGameObject::EffectGameObject(void) ; +0xc, 0x4eb080\nLDR             R3, =(_ZTV20CheckpointGameObject_ptr - 0x4EB08C)       ; +0x10, 0x4eb084\nMOV             R0, R4; this                                           ; +0x12, 0x4eb086\nADD             R3, PC; _ZTV20CheckpointGameObject_ptr                 ; +0x14, 0x4eb088\nLDR             R3, [R3]; `vtable for'CheckpointGameObject ...         ; +0x16, 0x4eb08a\nADD.W           R2, R3, #8                                             ; +0x18, 0x4eb08c\nSTR             R2, [R4]                                               ; +0x1c, 0x4eb090\nADD.W           R2, R3, #0x3B4                                         ; +0x1e, 0x4eb092\nADD.W           R3, R3, #0x3F4                                         ; +0x22, 0x4eb096\nSTR.W           R2, [R4,#0x108]                                        ; +0x26, 0x4eb09a\nSTR.W           R3, [R4,#0x118]                                        ; +0x2a, 0x4eb09e\nMOVS            R3, #0                                                 ; +0x2e, 0x4eb0a2\nSTRB.W          R3, [R4,#0x670]                                        ; +0x30, 0x4eb0a4\nSTR.W           R3, [R4,#0x674]                                        ; +0x34, 0x4eb0a8\nSTR.W           R3, [R4,#0x678]                                        ; +0x38, 0x4eb0ac\nBL              _ZN20CheckpointGameObject4initEv; CheckpointGameObject::init(void) ; +0x3c, 0x4eb0b0\nMOV             R5, R0                                                 ; +0x40, 0x4eb0b4\nCBZ             R0, loc_4EB0CA                                         ; +0x42, 0x4eb0b6\nMOV             R0, R4; this                                           ; +0x44, 0x4eb0b8\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x46, 0x4eb0ba\nB               loc_4EB0D4                                             ; +0x4a, 0x4eb0be\nMOV             R0, R4; void *                                         ; +0x4c, 0x4eb0c0\nBL              _ZdlPv; operator delete(void *)                        ; +0x4e, 0x4eb0c2\nBL              __cxa_end_cleanup                                      ; +0x52, 0x4eb0c6\nLDR             R3, [R4]                                               ; +0x56, 0x4eb0ca\nMOV             R0, R4                                                 ; +0x58, 0x4eb0cc\nMOV             R4, R5                                                 ; +0x5a, 0x4eb0ce\nLDR             R3, [R3,#8]                                            ; +0x5c, 0x4eb0d0\nBLX             R3                                                     ; +0x5e, 0x4eb0d2\nMOV             R0, R4                                                 ; +0x60, 0x4eb0d4\nPOP             {R3-R5,PC}                                             ; +0x62, 0x4eb0d6", "xrefs": ["GameObject::createWithKey @ 0x45bb00"], "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"}