{"type": "func", "start": 4300233312, "end": 4300233387, "name": "GJRateLevelLayer::create", "pseudocode": "// \n// GJRateLevelLayer::create from 0x100505a60 to 0x100505aab (75 bytes)\n// \n// 1 xrefs:\n// > LevelInfoLayer::onRateStarsMod @ 0x1002c1e39\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\nGJRateLevelLayer *__fastcall GJRateLevelLayer::create(GJGameLevel *a1)\n{\n  GJRateLevelLayer *v1; // rbx\n\n  v1 = (GJRateLevelLayer *)operator new(0x428u);\n  GJRateLevelLayer::GJRateLevelLayer(v1);\n  if ( GJRateLevelLayer::init(v1, a1) )\n  {\n    cocos2d::CCObject::autorelease(v1);\n  }\n  else\n  {\n    ((void (__fastcall *)(GJRateLevelLayer *))v1->~GJRateLevelLayer_0)(v1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; GJRateLevelLayer::create from 0x100505a60 to 0x100505aab (75 bytes)\n; \n; 1 xrefs:\n; > LevelInfoLayer::onRateStarsMod @ 0x1002c1e39\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, 0x100505a60\nmov     rbp, rsp                                                       ; +0x1, 0x100505a61\npush    r14                                                            ; +0x4, 0x100505a64\npush    rbx                                                            ; +0x6, 0x100505a66\nmov     r14, rdi                                                       ; +0x7, 0x100505a67\nmov     edi, 428h; __sz                                                ; +0xa, 0x100505a6a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x100505a6f\nmov     rbx, rax                                                       ; +0x14, 0x100505a74\nmov     rdi, rax                                                       ; +0x17, 0x100505a77\ncall    GJRateLevelLayer__GJRateLevelLayer                             ; +0x1a, 0x100505a7a\nmov     rdi, rbx                                                       ; +0x1f, 0x100505a7f\nmov     rsi, r14                                                       ; +0x22, 0x100505a82\ncall    GJRateLevelLayer__init                                         ; +0x25, 0x100505a85\ntest    al, al                                                         ; +0x2a, 0x100505a8a\njz      short loc_100505A98                                            ; +0x2c, 0x100505a8c\nmov     rdi, rbx                                                       ; +0x2e, 0x100505a8e\ncall    cocos2d__CCObject__autorelease                                 ; +0x31, 0x100505a91\njmp     short loc_100505AA3                                            ; +0x36, 0x100505a96\nmov     rax, [rbx]                                                     ; +0x38, 0x100505a98\nmov     rdi, rbx                                                       ; +0x3b, 0x100505a9b\ncall    qword ptr [rax+10h]                                            ; +0x3e, 0x100505a9e\nxor     ebx, ebx                                                       ; +0x41, 0x100505aa1\nmov     rax, rbx                                                       ; +0x43, 0x100505aa3\npop     rbx                                                            ; +0x46, 0x100505aa6\npop     r14                                                            ; +0x47, 0x100505aa7\npop     rbp                                                            ; +0x49, 0x100505aa9\nretn                                                                   ; +0x4a, 0x100505aaa", "xrefs": ["LevelInfoLayer::onRateStarsMod @ 0x1002c1e39"], "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"}