{"type": "func", "start": 5373010992, "end": 5373011073, "name": "GJRateLevelLayer::onFeature", "pseudocode": "// \n// GJRateLevelLayer::onFeature from 0x14041a430 to 0x14041a481 (81 bytes)\n// \n// 2 xrefs:\n// > GJRateLevelLayer::init @ 0x140419bd9\n// > <???> @ 0x14092663c\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:32:06 +0000\n// \n\n__int64 __fastcall GJRateLevelLayer::onFeature(__int64 a1)\n{\n  int v1; // r8d\n  int v2; // edx\n  __int64 v4; // r8\n\n  v1 = *(_DWORD *)(a1 + 1096);\n  v2 = 0;\n  if ( v1 < 4 )\n    v2 = v1 + 1;\n  *(_DWORD *)(a1 + 1096) = v2;\n  GJDifficultySprite::updateFeatureState(*(_DWORD **)(a1 + 1088), v2);\n  LOBYTE(v4) = *(_DWORD *)(a1 + 1096) != 0;\n  return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 1, v4);\n}", "assembly": "; \n; GJRateLevelLayer::onFeature from 0x14041a430 to 0x14041a481 (81 bytes)\n; \n; 2 xrefs:\n; > GJRateLevelLayer::init @ 0x140419bd9\n; > <???> @ 0x14092663c\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:32:06 +0000\n; \npush    rbx                                                            ; +0x0, 0x14041a430\nsub     rsp, 20h                                                       ; +0x2, 0x14041a432\nmov     r8d, [rcx+448h]                                                ; +0x6, 0x14041a436\nxor     edx, edx                                                       ; +0xd, 0x14041a43d\ncmp     r8d, 4                                                         ; +0xf, 0x14041a43f\nmov     rbx, rcx                                                       ; +0x13, 0x14041a443\nlea     eax, [r8+1]                                                    ; +0x16, 0x14041a446\ncmovl   edx, eax                                                       ; +0x1a, 0x14041a44a\nmov     [rcx+448h], edx                                                ; +0x1d, 0x14041a44d\nmov     rcx, [rcx+440h]                                                ; +0x23, 0x14041a453\ncall    GJDifficultySprite__updateFeatureState                         ; +0x2a, 0x14041a45a\ncmp     dword ptr [rbx+448h], 0                                        ; +0x2f, 0x14041a45f\nmov     edx, 1                                                         ; +0x36, 0x14041a466\nmov     rax, [rbx]                                                     ; +0x3b, 0x14041a46b\nmov     rcx, rbx                                                       ; +0x3e, 0x14041a46e\nsetnz   r8b                                                            ; +0x41, 0x14041a471\nadd     rsp, 20h                                                       ; +0x45, 0x14041a475\npop     rbx                                                            ; +0x49, 0x14041a479\njmp     qword ptr [rax+440h]                                           ; +0x4a, 0x14041a47a", "xrefs": ["GJRateLevelLayer::init @ 0x140419bd9", "<???> @ 0x14092663c"], "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"}