{"type": "func", "start": 5370338480, "end": 5370338535, "name": "GameObject::initWithTexture", "pseudocode": "// \n// GameObject::initWithTexture from 0x14018dcb0 to 0x14018dce7 (55 bytes)\n// \n// 47 xrefs:\n// > <???> @ 0x140556728\n// > <???> @ 0x140556e98\n// > <???> @ 0x14055ded0\n// > <???> @ 0x14055e550\n// > <???> @ 0x1405c85e8\n// > <???> @ 0x14060d778\n// > <???> @ 0x14060e0c8\n// > <???> @ 0x14060e7e8\n// > <???> @ 0x14060f020\n// > <???> @ 0x14060f6c8\n// > <???> @ 0x14060fd98\n// > <???> @ 0x140610450\n// > <???> @ 0x140610b98\n// > <???> @ 0x1406113f8\n// > <???> @ 0x140611b30\n// > <???> @ 0x140612318\n// > <???> @ 0x1406129c0\n// > <???> @ 0x140613068\n// > <???> @ 0x1406137d8\n// > <???> @ 0x140613e80\n// > <???> @ 0x140614668\n// > <???> @ 0x140614ea0\n// > <???> @ 0x1406155e8\n// > <???> @ 0x140615c90\n// > <???> @ 0x1406163d8\n// > <???> @ 0x140616b98\n// > <???> @ 0x140617240\n// > <???> @ 0x1406178e8\n// > <???> @ 0x140618058\n// > <???> @ 0x140618700\n// > <???> @ 0x140618e48\n// > <???> @ 0x1406198e8\n// > <???> @ 0x140619f90\n// > <???> @ 0x14061a638\n// > <???> @ 0x14061ad58\n// > <???> @ 0x14061b400\n// > <???> @ 0x14061bb48\n// > <???> @ 0x14061c2e0\n// > <???> @ 0x14061c988\n// > <???> @ 0x14061d030\n// > <???> @ 0x14061d6d8\n// > <???> @ 0x14061dd80\n// > <???> @ 0x14061e428\n// > <???> @ 0x14061ead0\n// > <???> @ 0x14061f2e0\n// > <???> @ 0x14061fa78\n// > <???> @ 0x1406cb898\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 GameObject::initWithTexture(GameObject *a1, cocos2d::CCTexture2D *a2)\n{\n  bool result; // al\n\n  a1->m_eObjType = GameObjectObjectType;\n  result = cocos2d::CCSprite::initWithTexture(a1, a2, &stru_1406C13D0);\n  if ( result )\n  {\n    GameObject::commonSetup(a1);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::initWithTexture from 0x14018dcb0 to 0x14018dce7 (55 bytes)\n; \n; 47 xrefs:\n; > <???> @ 0x140556728\n; > <???> @ 0x140556e98\n; > <???> @ 0x14055ded0\n; > <???> @ 0x14055e550\n; > <???> @ 0x1405c85e8\n; > <???> @ 0x14060d778\n; > <???> @ 0x14060e0c8\n; > <???> @ 0x14060e7e8\n; > <???> @ 0x14060f020\n; > <???> @ 0x14060f6c8\n; > <???> @ 0x14060fd98\n; > <???> @ 0x140610450\n; > <???> @ 0x140610b98\n; > <???> @ 0x1406113f8\n; > <???> @ 0x140611b30\n; > <???> @ 0x140612318\n; > <???> @ 0x1406129c0\n; > <???> @ 0x140613068\n; > <???> @ 0x1406137d8\n; > <???> @ 0x140613e80\n; > <???> @ 0x140614668\n; > <???> @ 0x140614ea0\n; > <???> @ 0x1406155e8\n; > <???> @ 0x140615c90\n; > <???> @ 0x1406163d8\n; > <???> @ 0x140616b98\n; > <???> @ 0x140617240\n; > <???> @ 0x1406178e8\n; > <???> @ 0x140618058\n; > <???> @ 0x140618700\n; > <???> @ 0x140618e48\n; > <???> @ 0x1406198e8\n; > <???> @ 0x140619f90\n; > <???> @ 0x14061a638\n; > <???> @ 0x14061ad58\n; > <???> @ 0x14061b400\n; > <???> @ 0x14061bb48\n; > <???> @ 0x14061c2e0\n; > <???> @ 0x14061c988\n; > <???> @ 0x14061d030\n; > <???> @ 0x14061d6d8\n; > <???> @ 0x14061dd80\n; > <???> @ 0x14061e428\n; > <???> @ 0x14061ead0\n; > <???> @ 0x14061f2e0\n; > <???> @ 0x14061fa78\n; > <???> @ 0x1406cb898\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, 0x14018dcb0\nsub     rsp, 20h                                                       ; +0x2, 0x14018dcb2\nlea     r8, stru_1406C13D0                                             ; +0x6, 0x14018dcb6\nmov     dword ptr [rcx+1Ch], 0Dh                                       ; +0xd, 0x14018dcbd\nmov     rbx, rcx                                                       ; +0x14, 0x14018dcc4\ncall    cs:__imp_?initWithTexture@CCSprite@cocos2d@@UEAA_NPEAVCCTexture2D@2@AEBVCCRect@2@@Z; cocos2d::CCSprite::initWithTexture(cocos2d::CCTexture2D *,cocos2d::CCRect const &) ; +0x17, 0x14018dcc7\ntest    al, al                                                         ; +0x1d, 0x14018dccd\njnz     short loc_14018DCD7                                            ; +0x1f, 0x14018dccf\nadd     rsp, 20h                                                       ; +0x21, 0x14018dcd1\npop     rbx                                                            ; +0x25, 0x14018dcd5\nretn                                                                   ; +0x26, 0x14018dcd6\nmov     rcx, rbx                                                       ; +0x27, 0x14018dcd7\ncall    GameObject__commonSetup                                        ; +0x2a, 0x14018dcda\nmov     al, 1                                                          ; +0x2f, 0x14018dcdf\nadd     rsp, 20h                                                       ; +0x31, 0x14018dce1\npop     rbx                                                            ; +0x35, 0x14018dce5\nretn                                                                   ; +0x36, 0x14018dce6", "xrefs": ["<???> @ 0x140556728", "<???> @ 0x140556e98", "<???> @ 0x14055ded0", "<???> @ 0x14055e550", "<???> @ 0x1405c85e8", "<???> @ 0x14060d778", "<???> @ 0x14060e0c8", "<???> @ 0x14060e7e8", "<???> @ 0x14060f020", "<???> @ 0x14060f6c8", "<???> @ 0x14060fd98", "<???> @ 0x140610450", "<???> @ 0x140610b98", "<???> @ 0x1406113f8", "<???> @ 0x140611b30", "<???> @ 0x140612318", "<???> @ 0x1406129c0", "<???> @ 0x140613068", "<???> @ 0x1406137d8", "<???> @ 0x140613e80", "<???> @ 0x140614668", "<???> @ 0x140614ea0", "<???> @ 0x1406155e8", "<???> @ 0x140615c90", "<???> @ 0x1406163d8", "<???> @ 0x140616b98", "<???> @ 0x140617240", "<???> @ 0x1406178e8", "<???> @ 0x140618058", "<???> @ 0x140618700", "<???> @ 0x140618e48", "<???> @ 0x1406198e8", "<???> @ 0x140619f90", "<???> @ 0x14061a638", "<???> @ 0x14061ad58", "<???> @ 0x14061b400", "<???> @ 0x14061bb48", "<???> @ 0x14061c2e0", "<???> @ 0x14061c988", "<???> @ 0x14061d030", "<???> @ 0x14061d6d8", "<???> @ 0x14061dd80", "<???> @ 0x14061e428", "<???> @ 0x14061ead0", "<???> @ 0x14061f2e0", "<???> @ 0x14061fa78", "<???> @ 0x1406cb898"], "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"}