{"type": "func", "start": 5373645872, "end": 5373646001, "name": "KeyframeGameObject::init", "pseudocode": "// \n// KeyframeGameObject::init from 0x1404b5430 to 0x1404b54b1 (129 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x14018c7b4\n// > GameObject::createWithKey @ 0x14018c7a1\n// > <???> @ 0x14060ecf0\n// > <???> @ 0x1406dcbc0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool KeyframeGameObject::init(KeyframeGameObject *a1)\n{\n  __int64 v2; // rcx\n  cocos2d::CCArray *v3; // rax\n\n  a1->m_eObjType = GameObjectObjectType;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName(a1, \"keyframeIcon_001.png\") )\n    return 0;\n  GameObject::commonSetup(a1);\n  a1->m_bUnkBool2 = 0;\n  a1->m_classType = Effect;\n  *(_WORD *)&a1->m_triggerTargetColor.r = -1;\n  a1->m_triggerTargetColor.b = -1;\n  a1->m_duration = 0.5;\n  a1->m_legacyHSV = 1;\n  v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(v2);\n  a1->m_shadowObjects = v3;\n  cocos2d::CCObject::retain(v3);\n  return 1;\n}", "assembly": "; \n; KeyframeGameObject::init from 0x1404b5430 to 0x1404b54b1 (129 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x14018c7b4\n; > GameObject::createWithKey @ 0x14018c7a1\n; > <???> @ 0x14060ecf0\n; > <???> @ 0x1406dcbc0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1404b5430\nsub     rsp, 20h                                                       ; +0x2, 0x1404b5432\nlea     rdx, aKeyframeicon00; \"keyframeIcon_001.png\"                   ; +0x6, 0x1404b5436\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x1404b543d\nmov     rbx, rcx                                                       ; +0x14, 0x1404b5444\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x1404b5447\ntest    al, al                                                         ; +0x1d, 0x1404b544d\njz      short loc_1404B54A9                                            ; +0x1f, 0x1404b544f\nmov     rcx, rbx                                                       ; +0x21, 0x1404b5451\ncall    GameObject__commonSetup                                        ; +0x24, 0x1404b5454\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x1404b5459\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x30, 0x1404b5460\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3a, 0x1404b546a\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x43, 0x1404b5473\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4a, 0x1404b547a\nmov     byte ptr [rbx+674h], 1                                         ; +0x54, 0x1404b5484\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x5b, 0x1404b548b\nmov     rcx, rax                                                       ; +0x61, 0x1404b5491\nmov     [rbx+740h], rax                                                ; +0x64, 0x1404b5494\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6b, 0x1404b549b\nmov     al, 1                                                          ; +0x71, 0x1404b54a1\nadd     rsp, 20h                                                       ; +0x73, 0x1404b54a3\npop     rbx                                                            ; +0x77, 0x1404b54a7\nretn                                                                   ; +0x78, 0x1404b54a8\nxor     al, al                                                         ; +0x79, 0x1404b54a9\nadd     rsp, 20h                                                       ; +0x7b, 0x1404b54ab\npop     rbx                                                            ; +0x7f, 0x1404b54af\nretn                                                                   ; +0x80, 0x1404b54b0", "xrefs": ["GameObject::createWithKey @ 0x14018c7b4", "GameObject::createWithKey @ 0x14018c7a1", "<???> @ 0x14060ecf0", "<???> @ 0x1406dcbc0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}