{"type": "func", "start": 4300873664, "end": 4300873754, "name": "GameObject::createWithFrame", "pseudocode": "// \n// GameObject::createWithFrame from 0x1005a1fc0 to 0x1005a201a (90 bytes)\n// \n// 6 xrefs:\n// > EditorUI::alignObjects @ 0x10004db73\n// > PlayLayer::addObject @ 0x1000b21b4\n// > PlayLayer::addObject @ 0x1000b2823\n// > PlayLayer::createCheckpoint @ 0x1000bb6e8\n// > LevelPage::addSecretCoin @ 0x10043404a\n// > GameObject::createWithKey @ 0x10059d71b\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\nGameObject *__fastcall GameObject::createWithFrame(const char *a1)\n{\n  GameObject *v1; // rbx\n\n  v1 = (GameObject *)operator new(0x548u);\n  GameObject::GameObject(v1);\n  if ( CCSpritePlus::initWithSpriteFrameName(v1, a1) )\n  {\n    GameObject::commonSetup(v1);\n    v1->m_bUnkBool2 = 1;\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(GameObject *))v1->~GameObject_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GameObject::createWithFrame from 0x1005a1fc0 to 0x1005a201a (90 bytes)\n; \n; 6 xrefs:\n; > EditorUI::alignObjects @ 0x10004db73\n; > PlayLayer::addObject @ 0x1000b21b4\n; > PlayLayer::addObject @ 0x1000b2823\n; > PlayLayer::createCheckpoint @ 0x1000bb6e8\n; > LevelPage::addSecretCoin @ 0x10043404a\n; > GameObject::createWithKey @ 0x10059d71b\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    rbp                                                            ; +0x0, 0x1005a1fc0\nmov     rbp, rsp                                                       ; +0x1, 0x1005a1fc1\npush    r14                                                            ; +0x4, 0x1005a1fc4\npush    rbx                                                            ; +0x6, 0x1005a1fc6\nmov     r14, rdi                                                       ; +0x7, 0x1005a1fc7\nmov     edi, 548h; __sz                                                ; +0xa, 0x1005a1fca\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1005a1fcf\nmov     rbx, rax                                                       ; +0x14, 0x1005a1fd4\nmov     rdi, rax                                                       ; +0x17, 0x1005a1fd7\ncall    GameObject__GameObject                                         ; +0x1a, 0x1005a1fda\nmov     rdi, rbx                                                       ; +0x1f, 0x1005a1fdf\nmov     rsi, r14                                                       ; +0x22, 0x1005a1fe2\ncall    CCSpritePlus__initWithSpriteFrameName                          ; +0x25, 0x1005a1fe5\ntest    al, al                                                         ; +0x2a, 0x1005a1fea\njz      short loc_1005A2007                                            ; +0x2c, 0x1005a1fec\nmov     rdi, rbx                                                       ; +0x2e, 0x1005a1fee\ncall    GameObject__commonSetup                                        ; +0x31, 0x1005a1ff1\nmov     byte ptr [rbx+139h], 1                                         ; +0x36, 0x1005a1ff6\nmov     rdi, rbx                                                       ; +0x3d, 0x1005a1ffd\ncall    cocos2d__CCObject__autorelease                                 ; +0x40, 0x1005a2000\njmp     short loc_1005A2012                                            ; +0x45, 0x1005a2005\nmov     rax, [rbx]                                                     ; +0x47, 0x1005a2007\nmov     rdi, rbx                                                       ; +0x4a, 0x1005a200a\ncall    qword ptr [rax+10h]                                            ; +0x4d, 0x1005a200d\nxor     ebx, ebx                                                       ; +0x50, 0x1005a2010\nmov     rax, rbx                                                       ; +0x52, 0x1005a2012\npop     rbx                                                            ; +0x55, 0x1005a2015\npop     r14                                                            ; +0x56, 0x1005a2016\npop     rbp                                                            ; +0x58, 0x1005a2018\nretn                                                                   ; +0x59, 0x1005a2019", "xrefs": ["EditorUI::alignObjects @ 0x10004db73", "PlayLayer::addObject @ 0x1000b21b4", "PlayLayer::addObject @ 0x1000b2823", "PlayLayer::createCheckpoint @ 0x1000bb6e8", "LevelPage::addSecretCoin @ 0x10043404a", "GameObject::createWithKey @ 0x10059d71b"], "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"}