{"type": "func", "start": 5375372688, "end": 5375372812, "name": "CheckpointGameObject::init", "pseudocode": "// \n// CheckpointGameObject::init from 0x14065ad90 to 0x14065ae0c (124 bytes)\n// \n// 4 xrefs:\n// > GameObject::createWithKey @ 0x1402891eb\n// > GameObject::createWithKey @ 0x1402891d8\n// > <???> @ 0x140823d58\n// > <???> @ 0x140931904\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:46 +0000\n// \n\nchar __fastcall CheckpointGameObject::init(__int64 a1)\n{\n  *(_DWORD *)(a1 + 28) = 13;\n  if ( !cocos2d::CCSprite::initWithSpriteFrameName((cocos2d::CCSprite *)a1, \"checkpoint_d_01_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  *(_DWORD *)(a1 + 928) = 20;\n  *(_BYTE *)(a1 + 1402) = 1;\n  return 1;\n}", "assembly": "; \n; CheckpointGameObject::init from 0x14065ad90 to 0x14065ae0c (124 bytes)\n; \n; 4 xrefs:\n; > GameObject::createWithKey @ 0x1402891eb\n; > GameObject::createWithKey @ 0x1402891d8\n; > <???> @ 0x140823d58\n; > <???> @ 0x140931904\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:46 +0000\n; \npush    rbx                                                            ; +0x0, 0x14065ad90\nsub     rsp, 20h                                                       ; +0x2, 0x14065ad92\nlea     rdx, aCheckpointD010; \"checkpoint_d_01_001.png\"                ; +0x6, 0x14065ad96\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x14065ad9d\nmov     rbx, rcx                                                       ; +0x14, 0x14065ada4\ncall    cs:__imp_?initWithSpriteFrameName@CCSprite@cocos2d@@UEAA_NPEBD@Z; cocos2d::CCSprite::initWithSpriteFrameName(char const *) ; +0x17, 0x14065ada7\ntest    al, al                                                         ; +0x1d, 0x14065adad\njz      short loc_14065AE04                                            ; +0x1f, 0x14065adaf\nmov     rcx, rbx                                                       ; +0x21, 0x14065adb1\ncall    GameObject__commonSetup                                        ; +0x24, 0x14065adb4\nmov     byte ptr [rbx+139h], 0                                         ; +0x29, 0x14065adb9\nmov     al, 1                                                          ; +0x30, 0x14065adc0\nmov     dword ptr [rbx+4E8h], 1                                        ; +0x32, 0x14065adc2\nmov     word ptr [rbx+5B9h], 0FFFFh                                    ; +0x3c, 0x14065adcc\nmov     byte ptr [rbx+5BBh], 0FFh                                      ; +0x45, 0x14065add5\nmov     dword ptr [rbx+5BCh], 3F000000h                                ; +0x4c, 0x14065addc\nmov     byte ptr [rbx+674h], 1                                         ; +0x56, 0x14065ade6\nmov     dword ptr [rbx+3A0h], 14h                                      ; +0x5d, 0x14065aded\nmov     byte ptr [rbx+57Ah], 1                                         ; +0x67, 0x14065adf7\nadd     rsp, 20h                                                       ; +0x6e, 0x14065adfe\npop     rbx                                                            ; +0x72, 0x14065ae02\nretn                                                                   ; +0x73, 0x14065ae03\nxor     al, al                                                         ; +0x74, 0x14065ae04\nadd     rsp, 20h                                                       ; +0x76, 0x14065ae06\npop     rbx                                                            ; +0x7a, 0x14065ae0a\nretn                                                                   ; +0x7b, 0x14065ae0b", "xrefs": ["GameObject::createWithKey @ 0x1402891eb", "GameObject::createWithKey @ 0x1402891d8", "<???> @ 0x140823d58", "<???> @ 0x140931904"], "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"}