{"type": "func", "start": 5375354848, "end": 5375354977, "name": "KeyframeGameObject::init", "pseudocode": "// \n// KeyframeGameObject::init from 0x1406567e0 to 0x140656861 (129 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x1402898f4\n// > GameObject::createWithKey @ 0x1402898e1\n// > <???> @ 0x140820a90\n// > <???> @ 0x140931790\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:35:45 +0000\n// \n\nchar __fastcall KeyframeGameObject::init(__int64 a1)\n{\n  __int64 v2; // rcx\n  cocos2d::CCObject *v3; // rax\n\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, \"keyframeIcon_001.png\") )\n    return 0;\n  GameObject::commonSetup(a1);\n  *(_BYTE *)(a1 + 313) = 0;\n  *(_DWORD *)(a1 + 1256) = 1;\n  *(_WORD *)(a1 + 1465) = -1;\n  *(_BYTE *)(a1 + 1467) = -1;\n  *(_DWORD *)(a1 + 1468) = 1056964608;\n  *(_BYTE *)(a1 + 1652) = 1;\n  v3 = (cocos2d::CCObject *)cocos2d::CCArray::create(v2);\n  *(_QWORD *)(a1 + 1856) = v3;\n  cocos2d::CCObject::retain(v3);\n  return 1;\n}", "assembly": "; \n; KeyframeGameObject::init from 0x1406567e0 to 0x140656861 (129 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x1402898f4\n; > GameObject::createWithKey @ 0x1402898e1\n; > <???> @ 0x140820a90\n; > <???> @ 0x140931790\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:35:45 +0000\n; \npush    rbx                                                            ; +0x0, 0x1406567e0\nsub     rsp, 20h                                                       ; +0x2, 0x1406567e2\nlea     rdx, aKeyframeicon00; \"keyframeIcon_001.png\"                   ; +0x6, 0x1406567e6\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1406567ed\nmov     rbx, rcx                                                       ; +0x14, 0x1406567f4\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1406567f7\ntest    al, al                                                         ; +0x1d, 0x1406567fd\njz      short loc_140656859                                            ; +0x1f, 0x1406567ff\nmov     rcx, rbx                                                       ; +0x21, 0x140656801\ncall    GameObject__commonSetup                                        ; +0x24, 0x140656804\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x140656809\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x30, 0x140656810\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3a, 0x14065681a\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x43, 0x140656823\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4a, 0x14065682a\nmov     byte ptr [rbx+674h], 1                                         ; +0x54, 0x140656834\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x5b, 0x14065683b\nmov     rcx, rax                                                       ; +0x61, 0x140656841\nmov     [rbx+740h], rax                                                ; +0x64, 0x140656844\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6b, 0x14065684b\nmov     al, 1                                                          ; +0x71, 0x140656851\nadd     rsp, 20h                                                       ; +0x73, 0x140656853\npop     rbx                                                            ; +0x77, 0x140656857\nretn                                                                   ; +0x78, 0x140656858\nxor     al, al                                                         ; +0x79, 0x140656859\nadd     rsp, 20h                                                       ; +0x7b, 0x14065685b\npop     rbx                                                            ; +0x7f, 0x14065685f\nretn                                                                   ; +0x80, 0x140656860", "xrefs": ["GameObject::createWithKey @ 0x1402898f4", "GameObject::createWithKey @ 0x1402898e1", "<???> @ 0x140820a90", "<???> @ 0x140931790"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}